package org.bootstrap.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.ArrayList;

@Data
@Component
@PropertySource(value = "classpath:application.yml", encoding = "UTF-8", ignoreResourceNotFound = true)
@ConfigurationProperties(value = "https", ignoreInvalidFields = true)
public class ApplicationConfiguration {
    private boolean enable;
    private ArrayList<String> includes;
    private ArrayList<String> excludes;
}
